Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Few cleanups related to julia version, compats and tests of SurrogatesMOE #460

Merged
merged 3 commits into from
Dec 29, 2023

Conversation

sathvikbhagavan
Copy link
Member

@sathvikbhagavan sathvikbhagavan commented Dec 29, 2023

Context

  1. Use Julia 1.10 for all subpackages
  2. Use latest flux everywhere
  3. A couple of tests fail spuriously in SurrogatesMOE because of RandomSampling like in LanguageTool #459. This happens when one of the clusters in the Gaussian Mixture Model is empty. We should handle it more elegantly. I will look into it in a subsequent PR. To prevent spurious failures, I have changed it to use a deterministic method.
  4. Format the repo - only couple of lines were unformatted

@sathvikbhagavan
Copy link
Member Author

@ArnoStrouwen, is there any reason we use old version of Tracker and Flux? I bumped the compat of Flux but it causes downgrade CI to fail - https://github.com/SciML/Surrogates.jl/actions/runs/7355008364/job/20022994040?pr=460

Copy link

codecov bot commented Dec 29, 2023

Codecov Report

All modified and coverable lines are covered by tests ✅

Comparison is base (1cff140) 77.93% compared to head (4320779) 78.12%.

Additional details and impacted files
@@            Coverage Diff             @@
##           master     #460      +/-   ##
==========================================
+ Coverage   77.93%   78.12%   +0.19%     
==========================================
  Files          23       23              
  Lines        3155     3155              
==========================================
+ Hits         2459     2465       +6     
+ Misses        696      690       -6     

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

@ArnoStrouwen
Copy link
Member

In my PR, the CI fails for both regular and downgrade CI:
#459
The failure is thus not related to an old version of something, but just a test that is random?

I would put the flux compat to both 0.13 and 0.14. But if that turns out not to be possible, we will have to bump other packages also, which will then cause even more packages to need a bump and so on.

The lower bound versions for downgrade CI are tedious to set up, but I'm quite experienced at it now, so I can do that part, as long as the random test result is fixed here.

@ChrisRackauckas ChrisRackauckas merged commit 25d95f1 into SciML:master Dec 29, 2023
7 of 8 checks passed
@sathvikbhagavan
Copy link
Member Author

Yes, random test failures should be fixed

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants